package com.ssy.jt808.gateway.client.util;

import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;

/**
 * @author zeno
 */
public final class DateTimeFormatUtil{

  private static final DateTimeFormatter YYMMDDHHMMSS = DateTimeFormatter.ofPattern("yyMMddHHmmss");

  public static String yyMMddHHmmss( LocalDateTime localDateTime ){
    return localDateTime.format(YYMMDDHHMMSS);
  }

}
